DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomVolume Class / DicomVolume Constructor / DicomVolume Constructor(IEnumerable<DicomImage>,Boolean,Single)
The set of images to derive the DicomVolume from
True if even spacing is to be used
The desired spacing






In This Topic
    DicomVolume Constructor(IEnumerable<DicomImage>,Boolean,Single)
    In This Topic
    Create a DicomVolume with even spacing, from data which may not be evenly spaced.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal Images As System.Collections.Generic.IEnumerable(Of DicomImage), _
       ByVal EvenSpacing As System.Boolean, _
       ByVal Spacing As System.Single _
    )
    'Usage
     
    
    Dim Images As System.Collections.Generic.IEnumerable(Of DicomImage)
    Dim EvenSpacing As System.Boolean
    Dim Spacing As System.Single
     
    Dim instance As New DicomVolume(Images, EvenSpacing, Spacing)
    public DicomVolume( 
       System.Collections.Generic.IEnumerable<DicomImage> Images,
       System.bool EvenSpacing,
       System.float Spacing
    )
    public DicomVolume( 
        Images: System.Collections.Generic.IEnumerable;
        EvenSpacing: System.Boolean;
        Spacing: System.Single
    ); 
    public function DicomVolume( 
       Images : System.Collections.Generic.IEnumerable,
       EvenSpacing : System.boolean,
       Spacing : System.float
    );
    public: DicomVolume( 
       System.Collections.Generic.IEnumerable<DicomImage*>* Images,
       System.bool EvenSpacing,
       System.float Spacing
    )
    public:
    DicomVolume( 
       System.Collections.Generic.IEnumerable<DicomImage^>^ Images,
       System.bool EvenSpacing,
       System.float Spacing
    )

    Parameters

    Images
    The set of images to derive the DicomVolume from
    EvenSpacing
    True if even spacing is to be used
    Spacing
    The desired spacing
    Remarks

    If EvenSpacing is false, then this is equivalent to the simple constructor with only one parameter

    If Spacing is 0, then the spacing between the first 2 images in the collection is used.

    The spacing is measured normal to the plane of the slices.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also